package com.example.teesystem.entity.vo.wrongSet;

import com.example.teesystem.common.valid.ValidErrorMessage;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author : NieYaShi
 * @version : v1.0
 * @createTime : 2022/4/7 15:37
 */
@Data
public class WrongSetSelectVo {

    @Min(value = 1, message = ValidErrorMessage.PAGE_CUR_VALID_FAIL)
    private Integer cur;

    /**
     * 每页个数
     */
    @Min(value = 0, message = ValidErrorMessage.PAGE_CUR_VALID_FAIL)
    private Integer size;

    @NotNull
    private Integer courseId;
}
